<?php
/**
 * DonationFixture
 *
 */
class DonationFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'contact_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
		'date' => array('type' => 'date', 'null' => false, 'default' => null),
		'dontation_desc' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'amount' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,2'),
		'payment_method' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'is_monthly' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'extra_info' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'special_msg' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'indexes' => array(
			'donation_contact_FK' => array('column' => 'contact_id', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'contact_id' => 1,
			'date' => '2013-06-29',
			'dontation_desc' => 'Lorem ipsum dolor sit amet',
			'amount' => 1,
			'payment_method' => 'Lorem ipsum dolor sit amet',
			'is_monthly' => 'Lorem ipsum dolor sit amet',
			'extra_info' => 'Lorem ipsum dolor sit amet',
			'special_msg' => 'Lorem ipsum dolor sit amet'
		),
	);

}
